projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acbdd5c
)
Fix clip of more windowed widgets
author
Timm Bäder
<mail@baedert.org>
Fri, 28 Oct 2016 16:10:22 +0000
(18:10 +0200)
committer
Timm Bäder
<mail@baedert.org>
Fri, 28 Oct 2016 17:33:47 +0000
(19:33 +0200)
gtk/gtkflowbox.c
patch
|
blob
|
history
gtk/gtklistbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkflowbox.c
b/gtk/gtkflowbox.c
index 1866a6937a02a91c0d0407870ac8bb7fee1f5b60..fd83a4861c8bdb609be658c3bd047543f8781087 100644
(file)
--- a/
gtk/gtkflowbox.c
+++ b/
gtk/gtkflowbox.c
@@
-511,6
+511,8
@@
gtk_flow_box_child_size_allocate (GtkWidget *widget,
gtk_widget_get_allocated_baseline (widget),
&clip);
+ clip.x += allocation->x;
+ clip.y += allocation->y;
gtk_widget_set_clip (widget, &clip);
}
diff --git
a/gtk/gtklistbox.c
b/gtk/gtklistbox.c
index 3bc32572bd016931729da14db792db9eabeffccd..e4ee1baccb85de58332ef08ec49cd67a63b28fa0 100644
(file)
--- a/
gtk/gtklistbox.c
+++ b/
gtk/gtklistbox.c
@@
-2680,7
+2680,9
@@
gtk_list_box_size_allocate (GtkWidget *widget,
gtk_widget_get_allocated_baseline (widget),
&clip);
- _gtk_widget_set_simple_clip (widget, &clip);
+ clip.x += allocation->x;
+ clip.y += allocation->y;
+ gtk_widget_set_clip (widget, &clip);
}